package org.fisco.bcos.asset.resp;

import java.math.BigInteger;

public class DonorRecord {
    private BigInteger amount;
    private String donor;
    private String projectId;

    // 构造函数
    public DonorRecord(BigInteger amount, String donor, String projectId) {
        this.amount = amount;
        this.donor = donor;
        this.projectId = projectId;
    }

    public DonorRecord(){}

    // Getter 和 Setter 方法
    public BigInteger getAmount() {
        return amount;
    }

    public void setAmount(BigInteger amount) {
        this.amount = amount;
    }

    public String getDonor() {
        return donor;
    }

    public void setDonor(String donor) {
        this.donor = donor;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    @Override
    public String toString() {
        return "DonationRecord{" +
                "amount=" + amount +
                ", donor='" + donor + '\'' +
                ", projectId='" + projectId + '\'' +
                '}';
    }
}